<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ImportTask extends Model
{
    protected $fillable = [
        'task_id', 'file_path','client_id', 'owner_id', 'file_name',
        'total_rows', 'processed_rows', 'status', 'error_log'
    ];

    // 状态常量（避免硬编码）
    const STATUS_PENDING = 'pending';
    const STATUS_PROCESSING = 'processing';
    const STATUS_SUCCESS = 'success';
    const STATUS_FAILED = 'failed';


}
